import Taro from "@tarojs/taro";
import { Vue } from "vue-property-decorator";
export default (vue: Vue) => {
  vue.mixin({
    mounted() {},
    methods: {
      goPage(url: string) {
        Taro.navigateTo({ url: `/pages/${url}/index` });
      },

      goBack() {
        Taro.navigateBack();
      }
    }
  });
};
